package booyah.service;

import org.springframework.transaction.annotation.Transactional;

import booyah.application.Person;

public interface PersonService {

	@Transactional
	public void createPerson(Person person);
	
	@Transactional
	public void updatePerson(Person person);
	
	@Transactional
	public void deletePerson(Person person);
	
	@Transactional
	public Person findPersonByEmail(String email);
	
	public boolean authenticate(String email, String password);
	
	@Transactional
	public String resetPassword(Person person);

	@Transactional
	public String resetPassword(String email);
	
}
